package cn.sangkf.litemall.product.feign;

import cn.sangkf.litemall.common.to.SkuEsModel;
import cn.sangkf.litemall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author : sangkf
 * @package : cn.sangkf.litemall.product.feign.SearchFeginService
 * @date : 2021/1/10 下午3:24 星期日
 * @description : TODO
 * @version: 1.0
 * <p>Copyright: Copyright (c) 2020</p>
 */
@FeignClient("litemall-search")
public interface SearchFeginService {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
